<?php
session_start();
if(!session_is_registered('support'))
{
	session_register('support');
	$_SESSION['support'] = time();
}
$t = time() - $_SESSION['support'];
if($_SESSION['TurnOffSp']==1)
	echo 0;
else
	echo (time() - $_SESSION['support']);

?>